luci-mod-network: restore DNS option semantics for proto static
authorJo-Philipp Wich <[email protected]>
Sat, 20 Mar 2021 23:36:24 +0000 (00:36 +0100)
committerJo-Philipp Wich <[email protected]>
Sat, 20 Mar 2021 23:36:24 +0000 (00:36 +0100)
commit2bfd4908a9cfeac74c7abc31d8cef0bf1e58af52
tree08a254f06e6bd3849fa630c02d2d77a4291620c2
parentedf640af583de122b020d215aadd141028c9458f
luci-mod-network: restore DNS option semantics for proto static

The peerdns settings makes little practical sense for proto:static
interfaces, so revert to allow setting the DNS server list directly.

Fixes: faad7464a8 ("luci-mod-network: add support for network.device sections")
Signed-off-by: Jo-Philipp Wich <[email protected]>
modules/luci-mod-network/htdocs/luci-static/resources/view/network/interfaces.js